cmake_minimum_required(VERSION 3.16)
project(UNIX_EXP VERSION 1.0 LANGUAGES C CXX)

include_directories(/usr/local/include/)
include_directories(lib)

set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED True)
set(CMAKE_C_FLAGS "-Wall -Werror")

# 自编译库
add_subdirectory(lib)
# 实验一
add_subdirectory(lab1)
# 实验二
add_subdirectory(lab2)
# 实验三
add_subdirectory(lab3)